package com.dong.dao;

import com.dong.entity.Video;
import com.dong.entity.Video;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
@Mapper
public interface VideoMapper {
    Video selectVideoById(Integer id);

    Integer addVideo(Video video);

    Integer updateVideo(Video video);
    Integer deleteVideo(Integer id);
    List<Video>selectAllVideo();


}
